//
//  AppDelegate.m
//  无忧社区
//
//  Created by hdh1997 on 15/11/6.
//  Copyright © 2015年 hdh1997. All rights reserved.
//

#import "AppDelegate.h"
#import "HDHTabBarController.h"


@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
   
    //1.创建窗口
    self.window =[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    
    //2.设置窗口的根控制器
    HDHTabBarController *tabBarVc = [[HDHTabBarController alloc]init];
    self.window.rootViewController = tabBarVc;
    
    //3.显示窗口
    [self.window makeKeyAndVisible];
    
    return YES;
}


@end
